package me.siphone.http.api;

import androidx.annotation.NonNull;
import com.hjq.http.config.IRequestApi;

public class QueryModelApi implements IRequestApi {
    @NonNull
    @Override
    public String getApi() {
        return "/prod-api/interface/getModelList";
    }

    public static class Model {
        private int id;
        private int type;
        private String publishTheme;
        private String remark;
        private int grade;
        private boolean selected;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getPublishTheme() {
            return publishTheme;
        }

        public void setPublishTheme(String publishTheme) {
            this.publishTheme = publishTheme;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public boolean isSelected() {
            return selected;
        }

        public void setSelected(boolean selected) {
            this.selected = selected;
        }
    }
}
